home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / simple-scan / simple-scan.ui
Encoding:
Extensible Markup Language  |  2010-05-13  |  48.0 KB  |  926 lines

  1. <?xml version="1.0"?>
  2. <interface>
  3.   <requires lib="gtk+" version="2.16"/>
  4.   <!-- interface-naming-policy project-wide -->
  5.   <object class="GtkWindow" id="simple_scan_window">
  6.     <property name="title" translatable="yes" comments="Title of scan window">Simple Scan</property>
  7.     <property name="icon_name">scanner</property>
  8.     <signal name="configure_event" handler="simple_scan_window_configure_event_cb"/>
  9.     <signal name="delete_event" handler="window_delete_event_cb"/>
  10.     <signal name="window_state_event" handler="simple_scan_window_window_state_event_cb"/>
  11.     <child>
  12.       <object class="GtkVBox" id="main_vbox">
  13.         <property name="visible">True</property>
  14.         <child>
  15.           <object class="GtkMenuBar" id="menubar">
  16.             <property name="visible">True</property>
  17.             <child>
  18.               <object class="GtkMenuItem" id="document_menuitem">
  19.                 <property name="visible">True</property>
  20.                 <property name="label" translatable="yes" comments="Label on document menu (contains actions for this document, e.g. save, print)">_Document</property>
  21.                 <property name="use_underline">True</property>
  22.                 <child type="submenu">
  23.                   <object class="GtkMenu" id="document_menu">
  24.                     <property name="visible">True</property>
  25.                     <child>
  26.                       <object class="GtkImageMenuItem" id="new_menuitem">
  27.                         <property name="label">gtk-new</property>
  28.                         <property name="visible">True</property>
  29.                         <property name="use_underline">True</property>
  30.                         <property name="use_stock">True</property>
  31.                         <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  32.                         <signal name="activate" handler="new_button_clicked_cb"/>
  33.                       </object>
  34.                     </child>
  35.                     <child>
  36.                       <object class="GtkImageMenuItem" id="scan_menuitem">
  37.                         <property name="label" translatable="yes" comments="Scan menu item">Sc_an</property>
  38.                         <property name="visible">True</property>
  39.                         <property name="use_underline">True</property>
  40.                         <property name="use_stock">False</property>
  41.                         <child type="submenu">
  42.                           <object class="GtkMenu" id="scan_menu">
  43.                             <property name="visible">True</property>
  44.                             <child>
  45.                               <object class="GtkMenuItem" id="scan_single_menuitem">
  46.                                 <property name="visible">True</property>
  47.                                 <property name="label" translatable="yes" comments="Scan menu item to scan a single page from the scanner">Single _Page</property>
  48.                                 <property name="use_underline">True</property>
  49.                                 <accelerator key="1" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  50.                                 <signal name="activate" handler="scan_button_clicked_cb"/>
  51.                               </object>
  52.                             </child>
  53.                             <child>
  54.                               <object class="GtkMenuItem" id="scan_all_menuitem">
  55.                                 <property name="visible">True</property>
  56.                                 <property name="label" translatable="yes" comments="Scan menu item to scan all pages from a document feeder">All Pages From _Feeder</property>
  57.                                 <property name="use_underline">True</property>
  58.                                 <accelerator key="f" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  59.                                 <signal name="activate" handler="continuous_scan_button_clicked_cb"/>
  60.                               </object>
  61.                             </child>
  62.                             <child>
  63.                               <object class="GtkMenuItem" id="stop_scan_menuitem">
  64.                                 <property name="visible">True</property>
  65.                                 <property name="sensitive">False</property>
  66.                                 <property name="label" translatable="yes" comments="Menu entry to stop current scan">_Stop Scan</property>
  67.                                 <property name="use_underline">True</property>
  68.                                 <accelerator key="Escape" signal="activate"/>
  69.                                 <signal name="activate" handler="stop_scan_button_clicked_cb"/>
  70.                               </object>
  71.                             </child>
  72.                             <child>
  73.                               <object class="GtkSeparatorMenuItem" id="menuitem2">
  74.                                 <property name="visible">True</property>
  75.                               </object>
  76.                             </child>
  77.                             <child>
  78.                               <object class="GtkRadioMenuItem" id="text_menuitem">
  79.                                 <property name="visible">True</property>
  80.                                 <property name="label" translatable="yes">Text</property>
  81.                                 <property name="use_underline">True</property>
  82.                                 <property name="draw_as_radio">True</property>
  83.                                 <signal name="toggled" handler="text_menuitem_toggled_cb"/>
  84.                               </object>
  85.                             </child>
  86.                             <child>
  87.                               <object class="GtkRadioMenuItem" id="photo_menuitem">
  88.                                 <property name="visible">True</property>
  89.                                 <property name="label" translatable="yes">Photo</property>
  90.                                 <property name="use_underline">True</property>
  91.                                 <property name="active">True</property>
  92.                                 <property name="draw_as_radio">True</property>
  93.                                 <property name="group">text_menuitem</property>
  94.                                 <signal name="toggled" handler="photo_menuitem_toggled_cb"/>
  95.                               </object>
  96.                             </child>
  97.                           </object>
  98.                         </child>
  99.                       </object>
  100.                     </child>
  101.                     <child>
  102.                       <object class="GtkImageMenuItem" id="save_menuitem">
  103.                         <property name="label">gtk-save</property>
  104.                         <property name="visible">True</property>
  105.                         <property name="use_underline">True</property>
  106.                         <property name="use_stock">True</property>
  107.                         <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  108.                         <signal name="activate" handler="save_file_button_clicked_cb"/>
  109.                       </object>
  110.                     </child>
  111.                     <child>
  112.                       <object class="GtkImageMenuItem" id="email_menuitem">
  113.                         <property name="label" translatable="yes" comments="Label on email menu item">_Email</property>
  114.                         <property name="visible">True</property>
  115.                         <property name="use_underline">True</property>
  116.                         <property name="image">email_image</property>
  117.                         <property name="use_stock">False</property>
  118.                         <accelerator key="e" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  119.                         <signal name="activate" handler="email_button_clicked_cb"/>
  120.                       </object>
  121.                     </child>
  122.                     <child>
  123.                       <object class="GtkImageMenuItem" id="print_menuitem">
  124.                         <property name="label">gtk-print</property>
  125.                         <property name="visible">True</property>
  126.                         <property name="use_underline">True</property>
  127.                         <property name="use_stock">True</property>
  128.                         <accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  129.                         <signal name="activate" handler="print_button_clicked_cb"/>
  130.                       </object>
  131.                     </child>
  132.                     <child>
  133.                       <object class="GtkSeparatorMenuItem" id="document_sep_menuitem">
  134.                         <property name="visible">True</property>
  135.                       </object>
  136.                     </child>
  137.                     <child>
  138.                       <object class="GtkImageMenuItem" id="preferences_menuitem">
  139.                         <property name="label">gtk-preferences</property>
  140.                         <property name="visible">True</property>
  141.                         <property name="use_underline">True</property>
  142.                         <property name="use_stock">True</property>
  143.                         <signal name="activate" handler="preferences_button_clicked_cb"/>
  144.                       </object>
  145.                     </child>
  146.                     <child>
  147.                       <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
  148.                         <property name="visible">True</property>
  149.                       </object>
  150.                     </child>
  151.                     <child>
  152.                       <object class="GtkImageMenuItem" id="quit_menuitem">
  153.                         <property name="label">gtk-quit</property>
  154.                         <property name="visible">True</property>
  155.                         <property name="use_underline">True</property>
  156.                         <property name="use_stock">True</property>
  157.                         <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  158.                         <accelerator key="w" signal="activate" modifiers="GDK_CONTROL_MASK"/>
  159.                         <signal name="activate" handler="quit_menuitem_activate_cb"/>
  160.                       </object>
  161.                     </child>
  162.                   </object>
  163.                 </child>
  164.               </object>
  165.             </child>
  166.             <child>
  167.               <object class="GtkMenuItem" id="page_menuitem">
  168.                 <property name="visible">True</property>
  169.                 <property name="label" translatable="yes" comments="Page menu (contains action for each page, e.g. delete, crop)">_Page</property>
  170.                 <property name="use_underline">True</property>
  171.                 <child type="submenu">
  172.                   <object class="GtkMenu" id="page_menu">
  173.                     <property name="visible">True</property>
  174.                     <child>
  175.                       <object class="GtkMenuItem" id="rotate_left_menuitem">
  176.                         <property name="visible">True</property>
  177.                         <property name="label" translatable="yes" comments="Menu item to rotate page to left (anti-clockwise)">Rotate _Left</property>
  178.                         <property name="use_underline">True</property>
  179.                         <accelerator key="bracketleft" signal="activate"/>
  180.                         <signal name="activate" handler="rotate_left_button_clicked_cb"/>
  181.                       </object>
  182.                     </child>
  183.                     <child>
  184.                       <object class="GtkMenuItem" id="rotate_right_menuitem">
  185.                         <property name="visible">True</property>
  186.                         <property name="label" translatable="yes" comments="Menu item to rotate page to right (clockwise)">Rotate _Right</property>
  187.                         <property name="use_underline">True</property>
  188.                         <accelerator key="bracketright" signal="activate"/>
  189.                         <signal name="activate" handler="rotate_right_button_clicked_cb"/>
  190.                       </object>
  191.                     </child>
  192.                     <child>
  193.                       <object class="GtkMenuItem" id="crop_menuitem">
  194.                         <property name="visible">True</property>
  195.                         <property name="label" translatable="yes" comments="Label for page crop submenu">_Crop</property>
  196.                         <property name="use_underline">True</property>
  197.                         <child type="submenu">
  198.                           <object class="GtkMenu" id="crop_menu">
  199.                             <property name="visible">True</property>
  200.                             <child>
  201.                               <object class="GtkRadioMenuItem" id="no_crop_menuitem">
  202.                                 <property name="visible">True</property>
  203.                                 <property name="label" translatable="yes" comments="Radio button for no crop">_None</property>
  204.                                 <property name="use_underline">True</property>
  205.                                 <property name="active">True</property>
  206.                                 <property name="draw_as_radio">True</property>
  207.                                 <signal name="toggled" handler="no_crop_menuitem_toggled_cb"/>
  208.                               </object>
  209.                             </child>
  210.                             <child>
  211.                               <object class="GtkRadioMenuItem" id="a4_menuitem">
  212.                                 <property name="visible">True</property>
  213.                                 <property name="label" translatable="yes" comments="Radio button for cropping page to A4 size">A_4</property>
  214.                                 <property name="use_underline">True</property>
  215.                                 <property name="draw_as_radio">True</property>
  216.                                 <property name="group">no_crop_menuitem</property>
  217.                                 <signal name="toggled" handler="a4_menuitem_toggled_cb"/>
  218.                               </object>
  219.                             </child>
  220.                             <child>
  221.                               <object class="GtkRadioMenuItem" id="a5_menuitem">
  222.                                 <property name="visible">True</property>
  223.                                 <property name="label" translatable="yes" comments="Radio button for cropping page to A5 size">A_5</property>
  224.                                 <property name="use_underline">True</property>
  225.                                 <property name="draw_as_radio">True</property>
  226.                                 <property name="group">no_crop_menuitem</property>
  227.                                 <signal name="toggled" handler="a5_menuitem_toggled_cb"/>
  228.                               </object>
  229.                             </child>
  230.                             <child>
  231.                               <object class="GtkRadioMenuItem" id="a6_menuitem">
  232.                                 <property name="visible">True</property>
  233.                                 <property name="label" translatable="yes" comments="Radio button for cropping page to A6 size">A_6</property>
  234.                                 <property name="use_underline">True</property>
  235.                                 <property name="draw_as_radio">True</property>
  236.                                 <property name="group">no_crop_menuitem</property>
  237.                                 <signal name="toggled" handler="a6_menuitem_toggled_cb"/>
  238.                               </object>
  239.                             </child>
  240.                             <child>
  241.                               <object class="GtkRadioMenuItem" id="letter_menuitem">
  242.                                 <property name="visible">True</property>
  243.                                 <property name="label" translatable="yes" comments="Radio button for cropping page to US letter size">_Letter</property>
  244.                                 <property name="use_underline">True</property>
  245.                                 <property name="draw_as_radio">True</property>
  246.                                 <property name="group">no_crop_menuitem</property>
  247.                                 <signal name="toggled" handler="letter_menuitem_toggled_cb"/>
  248.                               </object>
  249.                             </child>
  250.                             <child>
  251.                               <object class="GtkRadioMenuItem" id="legal_menuitem">
  252.                                 <property name="visible">True</property>
  253.                                 <property name="label" translatable="yes" comments="Radio button for cropping to page to US legal size">Le_gal</property>
  254.                                 <property name="use_underline">True</property>
  255.                                 <property name="draw_as_radio">True</property>
  256.                                 <property name="group">no_crop_menuitem</property>
  257.                                 <signal name="toggled" handler="legal_menuitem_toggled_cb"/>
  258.                               </object>
  259.                             </child>
  260.                             <child>
  261.                               <object class="GtkRadioMenuItem" id="4x6_menuitem">
  262.                                 <property name="visible">True</property>
  263.                                 <property name="label" translatable="yes" comments="Radio button for cropping page to 4x6 inch">4×6</property>
  264.                                 <property name="use_underline">True</property>
  265.                                 <property name="draw_as_radio">True</property>
  266.                                 <property name="group">no_crop_menuitem</property>
  267.                                 <signal name="toggled" handler="four_by_six_menuitem_toggled_cb"/>
  268.                               </object>
  269.                             </child>
  270.                             <child>
  271.                               <object class="GtkRadioMenuItem" id="custom_crop_menuitem">
  272.                                 <property name="visible">True</property>
  273.                                 <property name="label" translatable="yes" comments="Radio button for cropping to custom page size">_Custom</property>
  274.                                 <property name="use_underline">True</property>
  275.                                 <property name="draw_as_radio">True</property>
  276.                                 <property name="group">no_crop_menuitem</property>
  277.                                 <signal name="toggled" handler="custom_crop_menuitem_toggled_cb"/>
  278.                               </object>
  279.                             </child>
  280.                             <child>
  281.                               <object class="GtkSeparatorMenuItem" id="crop_sep_menuitem">
  282.                                 <property name="visible">True</property>
  283.                               </object>
  284.                             </child>
  285.                             <child>
  286.                               <object class="GtkMenuItem" id="crop_rotate_menuitem">
  287.                                 <property name="visible">True</property>
  288.                                 <property name="sensitive">False</property>
  289.                                 <property name="label" translatable="yes" comments="Menu item to rotate the crop area">_Rotate Crop</property>
  290.                                 <property name="use_underline">True</property>
  291.                                 <signal name="activate" handler="crop_rotate_menuitem_activate_cb"/>
  292.                               </object>
  293.                             </child>
  294.                           </object>
  295.                         </child>
  296.                       </object>
  297.                     </child>
  298.                     <child>
  299.                       <object class="GtkImageMenuItem" id="page_delete_menuitem">
  300.                         <property name="label">gtk-delete</property>
  301.                         <property name="visible">True</property>
  302.                         <property name="use_underline">True</property>
  303.                         <property name="use_stock">True</property>
  304.                         <accelerator key="Delete" signal="activate"/>
  305.                         <signal name="activate" handler="page_delete_menuitem_activate_cb"/>
  306.                       </object>
  307.                     </child>
  308.                   </object>
  309.                 </child>
  310.               </object>
  311.             </child>
  312.             <child>
  313.               <object class="GtkMenuItem" id="help_menuitem">
  314.                 <property name="visible">True</property>
  315.                 <property name="label" translatable="yes" comments="Label on help menu">_Help</property>
  316.                 <property name="use_underline">True</property>
  317.                 <child type="submenu">
  318.                   <object class="GtkMenu" id="help_menu">
  319.                     <property name="visible">True</property>
  320.                     <child>
  321.                       <object class="GtkImageMenuItem" id="help_contents_menuitem">
  322.                         <property name="label" translatable="yes" comments="Help|Contents menu">_Contents</property>
  323.                         <property name="visible">True</property>
  324.                         <property name="use_underline">True</property>
  325.                         <property name="image">help_image</property>
  326.                         <property name="use_stock">False</property>
  327.                         <accelerator key="F1" signal="activate"/>
  328.                         <signal name="activate" handler="help_contents_menuitem_activate_cb"/>
  329.                       </object>
  330.                     </child>
  331.                     <child>
  332.                       <object class="GtkImageMenuItem" id="about_menuitem">
  333.                         <property name="label">gtk-about</property>
  334.                         <property name="visible">True</property>
  335.                         <property name="use_underline">True</property>
  336.                         <property name="use_stock">True</property>
  337.                         <signal name="activate" handler="about_menuitem_activate_cb"/>
  338.                       </object>
  339.                     </child>
  340.                   </object>
  341.                 </child>
  342.               </object>
  343.             </child>
  344.           </object>
  345.           <packing>
  346.             <property name="expand">False</property>
  347.             <property name="position">0</property>
  348.           </packing>
  349.         </child>
  350.         <child>
  351.           <object class="GtkToolbar" id="toolbar1">
  352.             <property name="visible">True</property>
  353.             <child>
  354.               <object class="GtkToolButton" id="new_toolbutton">
  355.                 <property name="visible">True</property>
  356.                 <property name="tooltip_text" translatable="yes" comments="Tooltip for new document button">Start a new document</property>
  357.                 <property name="label" translatable="yes">New</property>
  358.                 <property name="use_underline">True</property>
  359.                 <property name="stock_id">gtk-new</property>
  360.                 <signal name="clicked" handler="new_button_clicked_cb"/>
  361.               </object>
  362.               <packing>
  363.                 <property name="expand">False</property>
  364.               </packing>
  365.             </child>
  366.             <child>
  367.               <object class="GtkMenuToolButton" id="scan_toolbutton">
  368.                 <property name="visible">True</property>
  369.                 <property name="tooltip_text" translatable="yes" comments="Tooltip for scan toolbar button">Scan a single page from the scanner</property>
  370.                 <property name="is_important">True</property>
  371.                 <property name="label" translatable="yes" comments="Label on scan toolbar item">Scan</property>
  372.                 <property name="use_underline">True</property>
  373.                 <property name="icon_name">scanner</property>
  374.                 <property name="menu">scan_toolbutton_menu</property>
  375.                 <signal name="clicked" handler="scan_button_clicked_cb"/>
  376.               </object>
  377.               <packing>
  378.                 <property name="expand">False</property>
  379.               </packing>
  380.             </child>
  381.             <child>
  382.               <object class="GtkToolButton" id="save_toolbutton">
  383.                 <property name="visible">True</property>
  384.                 <property name="tooltip_text" translatable="yes" comments="Tooltip for save toolbar button">Save document to a file</property>
  385.                 <property name="is_important">True</property>
  386.                 <property name="label" translatable="yes">Save</property>
  387.                 <property name="use_underline">True</property>
  388.                 <property name="stock_id">gtk-save</property>
  389.                 <signal name="clicked" handler="save_file_button_clicked_cb"/>
  390.               </object>
  391.               <packing>
  392.                 <property name="expand">False</property>
  393.                 <property name="homogeneous">True</property>
  394.               </packing>
  395.             </child>
  396.             <child>
  397.               <object class="GtkToolButton" id="stop_toolbutton">
  398.                 <property name="visible">True</property>
  399.                 <property name="sensitive">False</property>
  400.                 <property name="tooltip_text" translatable="yes" comments="Tooltip for stop button">Stop the current scan</property>
  401.                 <property name="label" translatable="yes">Stop</property>
  402.                 <property name="use_underline">True</property>
  403.                 <property name="stock_id">gtk-stop</property>
  404.                 <signal name="clicked" handler="stop_scan_button_clicked_cb"/>
  405.               </object>
  406.               <packing>
  407.                 <property name="expand">False</property>
  408.                 <property name="homogeneous">True</property>
  409.               </packing>
  410.             </child>
  411.             <child>
  412.               <object class="GtkSeparatorToolItem" id="toolbutton2">
  413.                 <property name="visible">True</property>
  414.               </object>
  415.               <packing>
  416.                 <property name="expand">False</property>
  417.                 <property name="homogeneous">True</property>
  418.               </packing>
  419.             </child>
  420.             <child>
  421.               <object class="GtkToolButton" id="rotate_left_toolbutton">
  422.                 <property name="visible">True</property>
  423.                 <property name="tooltip_text" translatable="yes" comments="Tooltip for rotate left (counter-clockwise) button">Rotate the page to the left (counter-clockwise)</property>
  424.                 <property name="label" translatable="yes" comments="Label on rotate page left (anti-clockwise) item">Rotate Left</property>
  425.                 <property name="use_underline">True</property>
  426.                 <property name="icon_name">object-rotate-left</property>
  427.                 <signal name="clicked" handler="rotate_left_button_clicked_cb"/>
  428.               </object>
  429.               <packing>
  430.                 <property name="expand">False</property>
  431.                 <property name="homogeneous">True</property>
  432.               </packing>
  433.             </child>
  434.             <child>
  435.               <object class="GtkToolButton" id="rotate_right_toolbutton">
  436.                 <property name="visible">True</property>
  437.                 <property name="tooltip_text" translatable="yes" comments="Tooltip for rotate right (clockwise) button">Rotate the page to the right (clockwise)</property>
  438.                 <property name="label" translatable="yes" comments="Label on rotate page right (clockwise) item">Rotate Right</property>
  439.                 <property name="use_underline">True</property>
  440.                 <property name="icon_name">object-rotate-right</property>
  441.                 <signal name="clicked" handler="rotate_right_button_clicked_cb"/>
  442.               </object>
  443.               <packing>
  444.                 <property name="expand">False</property>
  445.                 <property name="homogeneous">True</property>
  446.               </packing>
  447.             </child>
  448.             <child>
  449.               <object class="GtkToggleToolButton" id="crop_toolbutton">
  450.                 <property name="visible">True</property>
  451.                 <property name="tooltip_text" translatable="yes">Crop the selected page</property>
  452.                 <property name="is_important">True</property>
  453.                 <property name="label" translatable="yes">Crop</property>
  454.                 <property name="use_underline">True</property>
  455.                 <property name="icon_name">object-crop</property>
  456.                 <signal name="toggled" handler="crop_toolbutton_toggled_cb"/>
  457.               </object>
  458.               <packing>
  459.                 <property name="expand">False</property>
  460.                 <property name="homogeneous">True</property>
  461.               </packing>
  462.             </child>
  463.           </object>
  464.           <packing>
  465.             <property name="expand">False</property>
  466.             <property name="position">1</property>
  467.           </packing>
  468.         </child>
  469.         <child>
  470.           <placeholder/>
  471.         </child>
  472.       </object>
  473.     </child>
  474.   </object>
  475.   <object class="GtkListStore" id="mode_store">
  476.     <columns>
  477.       <!-- column-name mode -->
  478.       <column type="gchararray"/>
  479.       <!-- column-name label -->
  480.       <column type="gchararray"/>
  481.     </columns>
  482.     <data>
  483.       <row>
  484.         <col id="0">text</col>
  485.         <col id="1" translatable="yes" comments="Combo box label for text scan mode">Text</col>
  486.       </row>
  487.       <row>
  488.         <col id="0">photo</col>
  489.         <col id="1" translatable="yes" comments="Combo box label for photo scan mode">Photo</col>
  490.       </row>
  491.     </data>
  492.   </object>
  493.   <object class="GtkListStore" id="device_store">
  494.     <columns>
  495.       <!-- column-name device_name -->
  496.       <column type="gchararray"/>
  497.       <!-- column-name label -->
  498.       <column type="gchararray"/>
  499.     </columns>
  500.   </object>
  501.   <object class="GtkDialog" id="authorize_dialog">
  502.     <property name="border_width">12</property>
  503.     <property name="resizable">False</property>
  504.     <property name="modal">True</property>
  505.     <property name="type_hint">normal</property>
  506.     <property name="urgency_hint">True</property>
  507.     <property name="transient_for">simple_scan_window</property>
  508.     <property name="has_separator">False</property>
  509.     <child internal-child="vbox">
  510.       <object class="GtkVBox" id="dialog-vbox1">
  511.         <property name="visible">True</property>
  512.         <property name="spacing">12</property>
  513.         <child>
  514.           <object class="GtkVBox" id="vbox5">
  515.             <property name="visible">True</property>
  516.             <property name="border_width">5</property>
  517.             <property name="spacing">12</property>
  518.             <child>
  519.               <object class="GtkLabel" id="authorize_label">
  520.                 <property name="visible">True</property>
  521.                 <property name="label" comments="This label is set dynamically and is not translated">To connect to ? you need to authorize</property>
  522.               </object>
  523.               <packing>
  524.                 <property name="position">0</property>
  525.               </packing>
  526.             </child>
  527.             <child>
  528.               <object class="GtkTable" id="table2">
  529.                 <property name="visible">True</property>
  530.                 <property name="n_rows">2</property>
  531.                 <property name="n_columns">2</property>
  532.                 <property name="column_spacing">6</property>
  533.                 <property name="row_spacing">6</property>
  534.                 <child>
  535.                   <object class="GtkEntry" id="username_entry">
  536.                     <property name="visible">True</property>
  537.                     <property name="can_focus">True</property>
  538.                     <property name="invisible_char">●</property>
  539.                   </object>
  540.                   <packing>
  541.                     <property name="left_attach">1</property>
  542.                     <property name="right_attach">2</property>
  543.                     <property name="y_options">GTK_FILL</property>
  544.                   </packing>
  545.                 </child>
  546.                 <child>
  547.                   <object class="GtkEntry" id="password_entry">
  548.                     <property name="visible">True</property>
  549.                     <property name="can_focus">True</property>
  550.                     <property name="visibility">False</property>
  551.                     <property name="invisible_char">●</property>
  552.                   </object>
  553.                   <packing>
  554.                     <property name="left_attach">1</property>
  555.                     <property name="right_attach">2</property>
  556.                     <property name="top_attach">1</property>
  557.                     <property name="bottom_attach">2</property>
  558.                     <property name="y_options">GTK_FILL</property>
  559.                   </packing>
  560.                 </child>
  561.                 <child>
  562.                   <object class="GtkLabel" id="username_label">
  563.                     <property name="visible">True</property>
  564.                     <property name="label" translatable="yes" comments="Label beside username entry">_Username for resource:</property>
  565.                     <property name="use_underline">True</property>
  566.                     <property name="mnemonic_widget">username_entry</property>
  567.                   </object>
  568.                   <packing>
  569.                     <property name="x_options">GTK_FILL</property>
  570.                     <property name="y_options">GTK_FILL</property>
  571.                   </packing>
  572.                 </child>
  573.                 <child>
  574.                   <object class="GtkLabel" id="password_label">
  575.                     <property name="visible">True</property>
  576.                     <property name="label" translatable="yes" comments="Label beside password entry">_Password:</property>
  577.                     <property name="use_underline">True</property>
  578.                     <property name="mnemonic_widget">password_entry</property>
  579.                   </object>
  580.                   <packing>
  581.                     <property name="top_attach">1</property>
  582.                     <property name="bottom_attach">2</property>
  583.                     <property name="x_options">GTK_FILL</property>
  584.                     <property name="y_options">GTK_FILL</property>
  585.                   </packing>
  586.                 </child>
  587.               </object>
  588.               <packing>
  589.                 <property name="expand">False</property>
  590.                 <property name="position">1</property>
  591.               </packing>
  592.             </child>
  593.           </object>
  594.           <packing>
  595.             <property name="position">1</property>
  596.           </packing>
  597.         </child>
  598.         <child internal-child="action_area">
  599.           <object class="GtkHButtonBox" id="dialog-action_area1">
  600.             <property name="visible">True</property>
  601.             <property name="layout_style">end</property>
  602.             <child>
  603.               <object class="GtkButton" id="authorize_button">
  604.                 <property name="label" translatable="yes" comments="Button to submit authorization dialog">_Authorize</property>
  605.                 <property name="visible">True</property>
  606.                 <property name="can_focus">True</property>
  607.                 <property name="receives_default">True</property>
  608.                 <property name="use_underline">True</property>
  609.               </object>
  610.               <packing>
  611.                 <property name="expand">False</property>
  612.                 <property name="fill">False</property>
  613.                 <property name="position">0</property>
  614.               </packing>
  615.             </child>
  616.           </object>
  617.           <packing>
  618.             <property name="expand">False</property>
  619.             <property name="pack_type">end</property>
  620.             <property name="position">0</property>
  621.           </packing>
  622.         </child>
  623.       </object>
  624.     </child>
  625.     <action-widgets>
  626.       <action-widget response="0">authorize_button</action-widget>
  627.     </action-widgets>
  628.   </object>
  629.   <object class="GtkDialog" id="preferences_dialog">
  630.     <property name="border_width">7</property>
  631.     <property name="title" translatable="yes" comments="Title of preferences dialog">Preferences</property>
  632.     <property name="resizable">False</property>
  633.     <property name="icon_name">scanner</property>
  634.     <property name="type_hint">normal</property>
  635.     <property name="transient_for">simple_scan_window</property>
  636.     <property name="has_separator">False</property>
  637.     <signal name="response" handler="preferences_dialog_response_cb"/>
  638.     <signal name="delete_event" handler="preferences_dialog_delete_event_cb"/>
  639.     <child internal-child="vbox">
  640.       <object class="GtkVBox" id="dialog-vbox2">
  641.         <property name="visible">True</property>
  642.         <property name="spacing">2</property>
  643.         <child>
  644.           <object class="GtkTable" id="table3">
  645.             <property name="visible">True</property>
  646.             <property name="border_width">5</property>
  647.             <property name="n_rows">5</property>
  648.             <property name="n_columns">2</property>
  649.             <property name="column_spacing">6</property>
  650.             <property name="row_spacing">6</property>
  651.             <child>
  652.               <object class="GtkLabel" id="source_label">
  653.                 <property name="visible">True</property>
  654.                 <property name="xalign">0</property>
  655.                 <property name="label" translatable="yes" comments="Label beside scan source combo box">Scan S_ource:</property>
  656.                 <property name="use_underline">True</property>
  657.                 <property name="mnemonic_widget">device_combo</property>
  658.               </object>
  659.               <packing>
  660.                 <property name="x_options">GTK_FILL</property>
  661.                 <property name="y_options">GTK_FILL</property>
  662.               </packing>
  663.             </child>
  664.             <child>
  665.               <object class="GtkComboBox" id="device_combo">
  666.                 <property name="visible">True</property>
  667.                 <property name="model">device_store</property>
  668.                 <property name="button_sensitivity">on</property>
  669.                 <signal name="changed" handler="device_combo_changed_cb"/>
  670.               </object>
  671.               <packing>
  672.                 <property name="left_attach">1</property>
  673.                 <property name="right_attach">2</property>
  674.                 <property name="y_options">GTK_FILL</property>
  675.               </packing>
  676.             </child>
  677.             <child>
  678.               <object class="GtkLabel" id="text_dpi_label">
  679.                 <property name="visible">True</property>
  680.                 <property name="xalign">0</property>
  681.                 <property name="label" translatable="yes" comments="Label beside scan source combo box">_Text Resolution:</property>
  682.                 <property name="use_underline">True</property>
  683.                 <property name="mnemonic_widget">text_dpi_combo</property>
  684.               </object>
  685.               <packing>
  686.                 <property name="top_attach">1</property>
  687.                 <property name="bottom_attach">2</property>
  688.                 <property name="x_options">GTK_FILL</property>
  689.                 <property name="y_options">GTK_FILL</property>
  690.               </packing>
  691.             </child>
  692.             <child>
  693.               <object class="GtkLabel" id="photo_dpi_label">
  694.                 <property name="visible">True</property>
  695.                 <property name="xalign">0</property>
  696.                 <property name="label" translatable="yes" comments="Label beside scan source combo box">_Photo Resolution:</property>
  697.                 <property name="use_underline">True</property>
  698.                 <property name="mnemonic_widget">photo_dpi_combo</property>
  699.               </object>
  700.               <packing>
  701.                 <property name="top_attach">2</property>
  702.                 <property name="bottom_attach">3</property>
  703.                 <property name="x_options">GTK_FILL</property>
  704.                 <property name="y_options">GTK_FILL</property>
  705.               </packing>
  706.             </child>
  707.             <child>
  708.               <object class="GtkComboBox" id="text_dpi_combo">
  709.                 <property name="visible">True</property>
  710.                 <property name="model">text_dpi_store</property>
  711.               </object>
  712.               <packing>
  713.                 <property name="left_attach">1</property>
  714.                 <property name="right_attach">2</property>
  715.                 <property name="top_attach">1</property>
  716.                 <property name="bottom_attach">2</property>
  717.                 <property name="y_options">GTK_FILL</property>
  718.               </packing>
  719.             </child>
  720.             <child>
  721.               <object class="GtkComboBox" id="photo_dpi_combo">
  722.                 <property name="visible">True</property>
  723.                 <property name="model">photo_dpi_store</property>
  724.               </object>
  725.               <packing>
  726.                 <property name="left_attach">1</property>
  727.                 <property name="right_attach">2</property>
  728.                 <property name="top_attach">2</property>
  729.                 <property name="bottom_attach">3</property>
  730.                 <property name="y_options">GTK_FILL</property>
  731.               </packing>
  732.             </child>
  733.             <child>
  734.               <object class="GtkLabel" id="page_side_label">
  735.                 <property name="visible">True</property>
  736.                 <property name="xalign">0</property>
  737.                 <property name="label" translatable="yes" comments="Label beside scan side combo box">Scan Side:</property>
  738.                 <property name="use_underline">True</property>
  739.                 <property name="mnemonic_widget">photo_dpi_combo</property>
  740.               </object>
  741.               <packing>
  742.                 <property name="top_attach">3</property>
  743.                 <property name="bottom_attach">4</property>
  744.                 <property name="x_options">GTK_FILL</property>
  745.                 <property name="y_options">GTK_FILL</property>
  746.               </packing>
  747.             </child>
  748.             <child>
  749.               <object class="GtkComboBox" id="page_side_combo">
  750.                 <property name="visible">True</property>
  751.                 <property name="model">page_side_store</property>
  752.               </object>
  753.               <packing>
  754.                 <property name="left_attach">1</property>
  755.                 <property name="right_attach">2</property>
  756.                 <property name="top_attach">3</property>
  757.                 <property name="bottom_attach">4</property>
  758.                 <property name="y_options">GTK_FILL</property>
  759.               </packing>
  760.             </child>
  761.             <child>
  762.               <object class="GtkLabel" id="paper_size_label">
  763.                 <property name="visible">True</property>
  764.                 <property name="xalign">0</property>
  765.                 <property name="label" translatable="yes" comments="Label beside page size combo box">Page Size:</property>
  766.                 <property name="use_underline">True</property>
  767.                 <property name="mnemonic_widget">photo_dpi_combo</property>
  768.               </object>
  769.               <packing>
  770.                 <property name="top_attach">4</property>
  771.                 <property name="bottom_attach">5</property>
  772.                 <property name="x_options">GTK_FILL</property>
  773.                 <property name="y_options">GTK_FILL</property>
  774.               </packing>
  775.             </child>
  776.             <child>
  777.               <object class="GtkComboBox" id="paper_size_combo">
  778.                 <property name="visible">True</property>
  779.                 <property name="model">paper_size_store</property>
  780.               </object>
  781.               <packing>
  782.                 <property name="left_attach">1</property>
  783.                 <property name="right_attach">2</property>
  784.                 <property name="top_attach">4</property>
  785.                 <property name="bottom_attach">5</property>
  786.                 <property name="y_options">GTK_FILL</property>
  787.               </packing>
  788.             </child>
  789.           </object>
  790.           <packing>
  791.             <property name="position">1</property>
  792.           </packing>
  793.         </child>
  794.         <child internal-child="action_area">
  795.           <object class="GtkHButtonBox" id="dialog-action_area2">
  796.             <property name="visible">True</property>
  797.             <property name="layout_style">end</property>
  798.             <child>
  799.               <object class="GtkButton" id="preferences_close_button">
  800.                 <property name="label">gtk-close</property>
  801.                 <property name="visible">True</property>
  802.                 <property name="can_focus">True</property>
  803.                 <property name="receives_default">True</property>
  804.                 <property name="use_stock">True</property>
  805.               </object>
  806.               <packing>
  807.                 <property name="expand">False</property>
  808.                 <property name="fill">False</property>
  809.                 <property name="position">0</property>
  810.               </packing>
  811.             </child>
  812.           </object>
  813.           <packing>
  814.             <property name="expand">False</property>
  815.             <property name="pack_type">end</property>
  816.             <property name="position">0</property>
  817.           </packing>
  818.         </child>
  819.       </object>
  820.     </child>
  821.     <action-widgets>
  822.       <action-widget response="1">preferences_close_button</action-widget>
  823.     </action-widgets>
  824.   </object>
  825.   <object class="GtkMenu" id="scan_toolbutton_menu">
  826.     <property name="visible">True</property>
  827.     <child>
  828.       <object class="GtkMenuItem" id="scan_single_toolbutton_menuitem">
  829.         <property name="visible">True</property>
  830.         <property name="label" translatable="yes" comments="Toolbar scan menu item to scan a single page from the scanner">Single _Page</property>
  831.         <property name="use_underline">True</property>
  832.         <signal name="activate" handler="scan_button_clicked_cb"/>
  833.       </object>
  834.     </child>
  835.     <child>
  836.       <object class="GtkMenuItem" id="scan_all_toolbutton_menuitem">
  837.         <property name="visible">True</property>
  838.         <property name="label" translatable="yes" comments="Toolbar scan menu item to scan all pages from a document feeder">All Pages From _Feeder</property>
  839.         <property name="use_underline">True</property>
  840.         <signal name="activate" handler="continuous_scan_button_clicked_cb"/>
  841.       </object>
  842.     </child>
  843.     <child>
  844.       <object class="GtkSeparatorMenuItem" id="menuitem1">
  845.         <property name="visible">True</property>
  846.       </object>
  847.     </child>
  848.     <child>
  849.       <object class="GtkRadioMenuItem" id="text_toolbutton_menuitem">
  850.         <property name="visible">True</property>
  851.         <property name="label" translatable="yes">Text</property>
  852.         <property name="use_underline">True</property>
  853.         <property name="draw_as_radio">True</property>
  854.         <signal name="toggled" handler="text_menuitem_toggled_cb"/>
  855.       </object>
  856.     </child>
  857.     <child>
  858.       <object class="GtkRadioMenuItem" id="photo_toolbutton_menuitem">
  859.         <property name="visible">True</property>
  860.         <property name="label" translatable="yes">Photo</property>
  861.         <property name="use_underline">True</property>
  862.         <property name="active">True</property>
  863.         <property name="draw_as_radio">True</property>
  864.         <property name="group">text_toolbutton_menuitem</property>
  865.         <signal name="toggled" handler="photo_menuitem_toggled_cb"/>
  866.       </object>
  867.     </child>
  868.   </object>
  869.   <object class="GtkListStore" id="photo_dpi_store">
  870.     <columns>
  871.       <!-- column-name dpi -->
  872.       <column type="gint"/>
  873.       <!-- column-name label -->
  874.       <column type="gchararray"/>
  875.     </columns>
  876.   </object>
  877.   <object class="GtkListStore" id="text_dpi_store">
  878.     <columns>
  879.       <!-- column-name dpi -->
  880.       <column type="gint"/>
  881.       <!-- column-name label -->
  882.       <column type="gchararray"/>
  883.     </columns>
  884.   </object>
  885.   <object class="GtkImage" id="help_image">
  886.     <property name="visible">True</property>
  887.     <property name="stock">gtk-help</property>
  888.   </object>
  889.   <object class="GtkImage" id="email_image">
  890.     <property name="visible">True</property>
  891.     <property name="icon_name">mail-send</property>
  892.   </object>
  893.   <object class="GtkListStore" id="page_side_store">
  894.     <columns>
  895.       <!-- column-name side -->
  896.       <column type="gchararray"/>
  897.       <!-- column-name label -->
  898.       <column type="gchararray"/>
  899.     </columns>
  900.     <data>
  901.       <row>
  902.         <col id="0">both</col>
  903.         <col id="1" translatable="yes" comments="Combo box label for scanning both sides of a page">Front and Back</col>
  904.       </row>
  905.       <row>
  906.         <col id="0">front</col>
  907.         <col id="1" translatable="yes" comments="Combo box label for scanning the front side of a page">Front</col>
  908.       </row>
  909.       <row>
  910.         <col id="0">back</col>
  911.         <col id="1" translatable="yes" comments="Combo box label for scanning the back side of a page">Back</col>
  912.       </row>
  913.     </data>
  914.   </object>
  915.   <object class="GtkListStore" id="paper_size_store">
  916.     <columns>
  917.       <!-- column-name width -->
  918.       <column type="gint"/>
  919.       <!-- column-name height -->
  920.       <column type="gint"/>
  921.       <!-- column-name label -->
  922.       <column type="gchararray"/>
  923.     </columns>
  924.   </object>
  925. </interface>
  926.